package com.zhejiangzhengyuan.municipal_common.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


/**
 * @author :linju
 * @create on : 2019/11/29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CaseIsHandled", description="用于对案件管理中，案件状态在已处理的查询的结果封装")
public class CaseIsHandledVo {

    @ApiModelProperty(value = "案件ID")
    @TableId
    private Long cid;

    @ApiModelProperty(value = "设备ID")
    private Long did;

    @ApiModelProperty(value = "警报事件ID")
    private Long wid;

    @ExcelProperty(value = "设备编号")
    @ApiModelProperty(value = "设备编号")
    private String deviceCode;

    @ExcelProperty(value = "设备名称")
    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ExcelProperty(value = "数据来源")
    @ApiModelProperty(value = "数据来源")
    private String dataOrigin;

    @ExcelProperty(value = "位置")
    @ApiModelProperty(value = "位置")
    private String geomDes;

    @ExcelProperty(value = "异常状态")
    @ApiModelProperty(value = "异常状态")
    private String reason;

    @ExcelProperty(value = "上报时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ApiModelProperty(value = "上报时间")
    private Date createTime;

    @ExcelProperty(value = "完成时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ApiModelProperty(value = "完成时间")
    private Date updateTime;

    @ExcelProperty(value = "上报人")
    @ApiModelProperty(value = "上报人")
    private String username;

    @ExcelProperty(value = "处理人")
    @ApiModelProperty(value = "处理人")
    private String name;

    @ExcelProperty(value = "处理结果")
    @ApiModelProperty(value = "处理结果")
    private String context;

    @ExcelProperty(value = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;
}
